package com.san.app.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.san.app.dao.InspectResultDao;
import com.san.app.domain.InspectHisDTO;
import com.san.app.domain.InspectResultDO;
import com.san.app.service.InspectResultService;
import com.san.app.vo.InspectResultVO;

@Service
public class InspectResultServiceImpl implements InspectResultService{

	@Autowired
	private InspectResultDao dao;
	
	@Override
	public List<InspectResultDO> list(Map<String, Object> map) {
		return dao.list(map);
	}
	
	@Override
	public int save(InspectResultVO inspectResultVO) {
		return dao.save(inspectResultVO);
	}

	@Override
	public void saveHistory(InspectHisDTO histDTO) {
		// TODO Auto-generated method stub
		dao.saveHistory(histDTO);
	}

	

}
